import { FinalMatchPanel } from "./FinalMatchPanel";
import { Dispatcher } from "../../../../mvc/core/Dispatcher";
import { DataEvent } from "../../../events/DataEvent";
import { EventName } from "../../../mvc/EventName";
//class FinalTabletPanel
    
    export  class FinalTabletPanel extends FinalMatchPanel
    {
        constructor()
        {
            super();
            return;
        }

        protected /* override */ getData(): void
        {
            Dispatcher.dispatchEvent(new DataEvent(EventName.ArenaCrossGetTablet, _selectType));
            return;
        }

        protected /* override */ init(): void
        {
            super.init();
            _textTimeDesc1.visible = false;
            _textTimeDesc2.visible = false;
            _textTimeDesc3.visible = false;
            _textTimeDesc4.visible = false;
            _textTimeDesc5.visible = false;
            _btnMatchRule.visible = false;
            _btnMyMatch.visible = false;
            _btnMyBet.visible = false;
            _btnWorthRank.visible = false;
            _finalTree.isShowBtns = false;
            return;
        }
    }
